﻿using System.Collections.Generic;

namespace KZ.Express
{
    public interface ISubject
    {
        List<IObserver> ObserverList { get; set; }

        void AddObserver(IObserver observer);

        void RemoveObserver(IObserver observer);

        void NotifyToObserver();
    }

    public interface IObserver
    {
        void Notify();
    }
}